package de.andreavicentini.teatralia.pages;

import org.magiclabs.htmlx.Area;
import org.magiclabs.htmlx.HTMLString;
import org.magiclabs.htmlx.ILayout;
import org.magiclabs.htmlx.ITransfx;
import org.magiclabs.htmlx.LocalizedPage;
import org.magiclabs.htmlx.TextStructure;
import org.magiclabs.htmlx.TextStructure.TextKey;

public class TeatraliaPage extends LocalizedPage {

	private final TextKey description;

	public TeatraliaPage(ITransfx transfx, TextKey titleKey, TextKey description, ILayout layout, Area area, TextStructure textStructure) {
		super(transfx, titleKey, layout, area, textStructure);
		this.description = description;
	}
	
	public HTMLString getDescription() {
		return this.getText(description);
	}

}
